package com.hps.boot.gradle.service.impl;

import com.hps.boot.gradle.entity.User;
import com.hps.boot.gradle.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @author heps
 * @since 2020/6/23 19:29
 */
@Service
public class UserServiceImpl implements UserService {

  @Override
  public User findById(Long id) {
    User user = new User();
    user.setId(id);
    user.setUsername("test");
    user.setEmail("test@163.com");
    return user;
  }
}
